package org.yang.admin.dto.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.yang.admin.common.serialize.PhoneDesensitizationSerializer;

/**
 * @Description: TODO
 * @Author: YangTing
 * @Date: 2024-07-02 20:58
 */
@Data
public class UserRespDTO {
    private Long id;

    private String username;

    private String realName;

    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;

    private String mail;
}
